﻿Imports DTO
Imports DAO

Public Class RoomBUS
    Private roomDAO As New RoomDAO

    Public Function GetListRoom() As List(Of RoomDTO)
        Return RoomDAO.GetListRoom()
    End Function
    Public Sub Update(ByVal roomId As Integer, ByVal status As String)
        roomDAO.Update(roomId, status)
    End Sub
    Public Function GetListRoomByBookingId(ByVal bookingId As Integer) As List(Of RoomDTO)
        Return roomDAO.GetListRoomByBookingId(bookingId)
    End Function

End Class
